/* Common CSS PyRaspControl Styles. */
body {
    background: #303130;
}

#content {
    background: #fff;
    padding: 40px 20px;
}

.container, .navbar {
    max-width: 780px;
}

.container-content {
    background-color: #FAFAFA;

    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

header {
    margin: 0;
    height: 140px;
    color: #fff;
    background: #464646;
    background: -moz-linear-gradient(top, #464646 0%, #303130 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #464646), color-stop(100%, #303130));
    background: -webkit-linear-gradient(top, #464646 0%, #303130 100%);
    background: -o-linear-gradient(top, #464646 0%, #303130 100%);
    background: -ms-linear-gradient(top, #464646 0%, #303130 100%);
    background: linear-gradient(to bottom, #464646 0%, #303130 100%);
}

header h1 {
    margin: 32px 0 -10px 0;
    font-size: 40px;
    font-weight: normal;
    letter-spacing: 0;
}

header a,
header a:hover,
header a:focus {
    color: #fff;
    text-decoration: none;
}

header a:hover {
    color: #ededed;
}

header h2 {
    margin: 0;
    margin-top: 16px;
    font-size: 16px;
    font-weight: normal;
    color: #aaa;
}

header img {
    float: left;
    margin: 15px 0 0 0;
}

/* Footer */
footer {
    margin: 0;
    padding: 30px 0 0 0;
    color: #fff;
    background: #464646;
    background: -moz-linear-gradient(top, #464646 0%, #303130 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #464646), color-stop(100%, #303130));
    background: -webkit-linear-gradient(top, #464646 0%, #303130 100%);
    background: -o-linear-gradient(top, #464646 0%, #303130 100%);
    background: -ms-linear-gradient(top, #464646 0%, #303130 100%);
    background: linear-gradient(to bottom, #464646 0%, #303130 100%);
    height: 80px;
}

footer p {
    margin: 0;
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: #fff;
}

footer p {
    font-size: 10px;
}

/* Media queries */
@media (max-width: 770px) {
    body {
        margin: 0;
        padding: 0;
    }

    .container,
    .progress {
        max-width: 100% !important;
    }

    header img {
        display: none;
    }

    header {
        padding: 0 10px 0 20px;
        height: 120px;
    }

    footer {
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}
